package com.zjy.heath_ms.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目名 heath_ms
 * 类名  OrderSetting
 * 作者 lzq
 * 创建时间  2025/5/25 11:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_ordersetting")
public class OrderSetting implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id ;
    @Excel(name = "日期")
    @TableField("order_date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderDate;//预约设置日期
    @Excel(name = "可预约数量")
    private int number;//可预约人数
    private int reservations ;//已预约人数
}